<!doctype html>
<html ng-app="myApp">
<head>
    <script src="../js/angular.min.js"></script>
</head>
<body>

    Type here to make sibling readonly:
    <input type="text" ng-model="someProperty"><br/>
    <input type="text" ng-readonly="someProperty" value="Some text here"/>

    <input type="checkbox"
           ng-checked="someProperty2"
           ng-init="someProperty2 = true"
           ng-model="someProperty2">
    <label>someProperty2 = {{someProperty2}}</label>
</body>

<script>
    angular.module('myApp', []);
</script>
</html>